
import java.util.ArrayList;
import java.util.List;


/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author Ivan
 */
public class Tester {

    public static void main(String[] args) {
        List list = new ArrayList();
        for (int x = 0; x <= 12; x++) {
            list.add(x);
        }
       
        System.out.println(list);
        int count =0;
        //int lock = 0;
        for(int x=0;x<list.size();x++){
            count++;
            System.out.println(count);
            if(count==5){
                
                //lock++;
                System.out.println("hilang");
                count=0;
            }
        }
    }
}
